<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Kisebo: Código-Fonte de src/kisebo/Livro.h</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Gerado por Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;Principal</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Arquivos</span></a></li>
    </ul>
  </div>
<h1>src/kisebo/Livro.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef LIVRO_H_</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define LIVRO_H_</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00004"></a>00004 
<a name="l00005"></a>00005 <span class="keyword">using namespace </span>std;
<a name="l00006"></a>00006 
<a name="l00011"></a><a class="code" href="classLivro.html">00011</a> <span class="keyword">class </span><a class="code" href="classLivro.html" title="Entidade Livro.">Livro</a>
<a name="l00012"></a>00012 {
<a name="l00013"></a>00013 <span class="keyword">private</span>:
<a name="l00014"></a>00014         <span class="keywordtype">long</span> ID;
<a name="l00015"></a>00015         <span class="keywordtype">string</span> Titulo;
<a name="l00016"></a>00016         <span class="keywordtype">string</span> Autor;
<a name="l00017"></a>00017         <span class="keywordtype">string</span> Tema;
<a name="l00018"></a>00018         <span class="keywordtype">double</span> Valor;
<a name="l00019"></a>00019         <span class="keywordtype">string</span> Edicao;
<a name="l00020"></a>00020         <span class="keywordtype">int</span> AnoPublicacao;
<a name="l00021"></a>00021         <span class="keywordtype">string</span> Paginas;
<a name="l00022"></a>00022 
<a name="l00023"></a>00023 <span class="keyword">public</span>:
<a name="l00024"></a>00024         <a class="code" href="classLivro.html#4b89ad279d36589f7337083cdf006861" title="Construtor.">Livro</a>();
<a name="l00025"></a>00025         <span class="keyword">virtual</span> <a class="code" href="classLivro.html#1f3b49a5fbaf89727b0d0317e128655f">~Livro</a>();
<a name="l00026"></a>00026 
<a name="l00027"></a>00027         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#f3f7a8493e6bfc02d3b9842ce516b07e" title="Seta o ID do livro.">SetID</a>(<span class="keywordtype">long</span> <span class="keywordtype">id</span>);
<a name="l00028"></a>00028         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#28dd659a732b1b23cd4d5443d4785482" title="Seta o Título do livro.">SetTitulo</a>(<span class="keywordtype">string</span> titulo);
<a name="l00029"></a>00029         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#ee4ae06dbdee2d8725a62823a8913867" title="Seta o nome do autor do livro.">SetAutor</a>(<span class="keywordtype">string</span> autor);
<a name="l00030"></a>00030         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#38beef47085e85f77e623dec3e486eed" title="Seta o nome do Tema do livro.">SetTema</a>(<span class="keywordtype">string</span> tema);
<a name="l00031"></a>00031         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#11f572393fc18482d23b38aa05793331" title="Seta o valor de venda do livro.">SetValor</a>(<span class="keywordtype">double</span> valor);
<a name="l00032"></a>00032         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#70fe71d91114c48bb29107b50725d5a4" title="Seta a edição do livro.">SetEdicao</a>(<span class="keywordtype">string</span> edicao);
<a name="l00033"></a>00033         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#8826877d9745d94e9b1a731fe02dda0d" title="Seta o ano de publicação do livro.">SetAnoPublicacao</a>(<span class="keywordtype">int</span> ano_publicacao);
<a name="l00034"></a>00034         <span class="keywordtype">void</span> <a class="code" href="classLivro.html#7be7669065b76ddee86f3d3e4f5bc690" title="Seta a quantidade de páginas do livro.">SetPaginas</a>(<span class="keywordtype">string</span> paginas);
<a name="l00035"></a>00035 
<a name="l00036"></a>00036         <span class="keywordtype">string</span> <a class="code" href="classLivro.html#49933486534ff5d2939c03d94d16d26b" title="Retorna o Título do livro.">GetTitulo</a>();
<a name="l00037"></a>00037         <span class="keywordtype">string</span> <a class="code" href="classLivro.html#1b10e53d83d5c082d47877cb78a5755e" title="Retorna o Autor do livro.">GetAutor</a>();
<a name="l00038"></a>00038         <span class="keywordtype">long</span> <a class="code" href="classLivro.html#8cfc189dfe88853bcc7aab3c40c870d8" title="Retorna o ID do livro.">GetID</a>();
<a name="l00039"></a>00039 };
<a name="l00040"></a>00040 
<a name="l00041"></a>00041 <span class="preprocessor">#endif </span><span class="comment">/*LIVRO_H_*/</span>
</pre></div></div>
<hr size="1"><address style="text-align: right;"><small>Gerado em Wed Dec 3 16:28:03 2008 para Kisebo por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
